package com.xszx.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "balance")
@Entity
@Data
public class Balance {

    @Id
    private Long id;

    @Column(name = "account",nullable = false)
    private String account;

    @Column(name = "type",nullable = false)
    private int type;

    @Column(name = "balance",nullable = false)
    private Double balance;


}
